<?php



namespace app\common\model\user;

use app\common\model\BaseModel;

class UserTalent extends BaseModel
{

    public static function tablePk(): ?string
    {
        return 'talent_id';
    }

    public static function tableName(): string
    {
        return 'user_talent';
    }

    public function user()
    {
        return $this->hasOne(User::class,'uid','uid');
    }
}
